package cn.szsys.integration.helper.manager;

import cn.szsys.integration.dto.EducationVerifyDTO;
import cn.szsys.integration.helper.BusinessBeanNameConstant;
import cn.szsys.integration.helper.business.AbstractEducationVerifyHandlerChain;
import jakarta.annotation.PostConstruct;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 二要素
 *
 * @author Ryan
 * @since 2025-05-09
 **/
@Component(BusinessBeanNameConstant.EducationVerify.MANAGE_BEAN_NAME)
public class EducationVerifyForwardHandlerChainManager extends AbstractForwardHandlerChainManager<EducationVerifyDTO> {

    @PostConstruct
    public void init() {
        Map<String, AbstractEducationVerifyHandlerChain> beansOfType = applicationContext.getBeansOfType(AbstractEducationVerifyHandlerChain.class);
        this.handlerChainMap.putAll(beansOfType);
    }
}
